package com.lili.operate.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lili.operate.entity.distribution.DistributionGoods;

import java.util.List;

public interface DistributionGoodsService{

    /**
     * 保存分销商品
     * @param distributionGoods
     * @return
     */
    public int saveDistributionGoods(DistributionGoods distributionGoods);

    /**
     * 查询所有商品信息
     * @return
     */
    public Page<DistributionGoods> queryAllDistributionGoods(int current,int pageSize);

    public int updateDistributionGoods(String id);
}
